import request from '@/config/axios'

export function useAssureApi() {
    return {
        getAssure: async () => {
            return await request.get({url: '/yxt/assure/get'})
        },
        updateAssure: async (data: any) => {
            return await request.post({url: '/yxt/assure/update', data})
        }
    }
}
